Overview
isolate-react provides two functions for testing react components:
isolateComponentrenders a react component but does not render its children.isolateComponentTreerenders a react component and also renders any child components.
Both isolateComponent and isolateComponentTree return the same thing: an IsolatedComponent that provides methods for inspecting and interacting with the elements rendered by the component.
The next couple of pages show examples of each.